const express = require('express');
const router = express.Router();
const roomController = require('../controllers/roomController');

// 添加路由日志中间件
router.use((req, res, next) => {
  // 移除调试日志输出
  next();
});

// 获取房间列表
router.get('/list', roomController.getRoomList);

// 获取房间详情
router.get('/detail/:id', roomController.getRoomDetail);

//获取优惠券可选房间
router.get('/coupon', roomController.getCouponRoomList);
module.exports = router; 